package com.zjy.business.system.manager.service;

import com.github.pagehelper.PageInfo;
import com.zjy.business.system.domain.entity.SysUser;
import com.zjy.business.system.domain.manager.form.ManagerSysUserSaveOrUpdateForm;
import com.zjy.business.system.domain.manager.query.ManagerListPageSysUserQuery;
import com.zjy.business.system.domain.manager.vo.ManagerListPageSysUserVo;

import java.util.List;

/**
 * @author yxb
 * create_time: 2024-10-22 14:57
 * description: 
 */
public interface ManagerSysUserService {

    /**
     * 新增或修改
     * @param form
     */
    void saveOrUpdate(ManagerSysUserSaveOrUpdateForm form);

    /**
     * 删除
     * @param id
     */
    void remove(Long id);

    /**
     * 分页查询
     * @param query
     * @return
     */
    PageInfo<ManagerListPageSysUserVo> listPageSysUser(ManagerListPageSysUserQuery query);

    /**
     * 重置密码
     * @param userId
     */
    void resetPassword(Long userId);

    /**
     * 用户下拉列表
     *
     * @return
     */
    List<SysUser> userDownList();

}
